package org.nfIt.service.impl;

import org.nfIt.entity.base.ProductUnit;
import org.nfIt.mapper.ProductUnitMapper;
import org.nfIt.service.ProductUnitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClossName:ProductUnitServiceImpl
 * Pakage:org.nfIt.service.impl
 * Description
 *
 * @Author L
 * @Create 2024/8/23 22:17
 * @Version 2023.1.3
 */
@Service
public class ProductUnitServiceImpl implements ProductUnitService {
    @Autowired
    private ProductUnitMapper productUnitMapper;
    /**
     * 查询商品单元数据
     */
    @Override
    public List<ProductUnit> findAll() {
        return productUnitMapper.findAll();
    }
}
